package com.augn.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Style implements Serializable {

    @TableId(type = IdType.AUTO)
    private  Integer styleId; //款式编号
    private  Integer goodsId; //商品编号
    private  String styleName; //款式名字

    private  Integer stylePrice; //款式价格
    private  String styleImage; //款式图片
    private  Integer styleStock; //款式图片
    private  Integer defaultStyle; //是否为商品默认款式

    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
